package com.company.recruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.recruit.entity.*;

import java.util.List;

/**
 * 
 *
 * @author wanghengfeng
 * @email 2428284819@qq.com
 * @date 2021-12-02 17:05:21
 */
public interface RecruitService extends IService<RecruitEntity> {

    /**
     *  获取学历分析
     * @return
     */
    List<EducationAnalyse> getEducationAnalyse();

    void saveEducationAnalyse(EducationAnalyse educationAnalyse);

    List<RecruitNum> getRecruitNum();

    void saveRecruitNum(RecruitNum recruitNum);

    List<RecruitNum> getCity(String name);

    void deleteRecruitNum(String city);

    List<AreaAvgWage> getAreaAvgWage();

    void saveAreaAvgWage(AreaAvgWage data);

    List<AreaAvgWage> getCityByAvg(String city);

    void deleteAreaAvgWage(String city);

    List<AreaAvgWage> getAll();

    void saveAvg(String city,Integer avgMin, Integer avgMax);

    List<EducationAnalyse> getAllEducationAnalyse();

    List<RecruitNum> getAllRecruitNum();

    List<ExperienceTypeAnalyse> getAllExperienceTypeAnalyse();

    void saveExperienceTypeAnalyse(List<ExperienceTypeAnalyse> data);

    List<ExperienceTypeAnalyse> getAllExperienceTypeAnalyseByClean();

    List<String> getStartWelfare();

    List<WelfareAnalyse> getWelfareByAnalyse();

    List<ExperienceTypeAnalyse> getAllExperienceTypeAnalyseByList();

    List<WelfareAnalyse> getWelfareByAnalyseByList();

    void saveRecruitEntity(RecruitMongo recruitEntity);

    void getRecruitNumByService();

    void getAreaAvgWageByService();
}

